package com.example.foo.member.model;


/**
 * 会员证件
 */
@com.baomidou.mybatisplus.annotation.TableName("memberidcard")
public class MemberIdcard extends com.example.core.model.BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 状态
	 */
	public enum State {
		pending("等待"),
		success("成功")
		;
		public final String text;
		State(String text) {
			this.text = text;
		}
	}

	private MemberIdcard.State state;

	private String idcard;

	private String idname;

	private String picUrl1;

	private String picUrl2;

	private String startDate;

	private String endDate;

	private String cellphone;

	private String address;

	private String memo;

	private String outerMemberId;

	private Long userId;

	public MemberIdcard() {
	}

	/**
	 * @return 状态
	 */
	public MemberIdcard.State getState() {
		return state;
	}

	/**
	 * @param state 状态
	 */
	public void setState(MemberIdcard.State state) {
		this.state = state;
	}

	/**
	 * @return 身份证号
	 */
	public String getIdcard() {
		return idcard;
	}

	/**
	 * @param idcard 身份证号
	 */
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	/**
	 * @return 身份证姓名
	 */
	public String getIdname() {
		return idname;
	}

	/**
	 * @param idname 身份证姓名
	 */
	public void setIdname(String idname) {
		this.idname = idname;
	}

	/**
	 * @return 图片URL1
	 */
	public String getPicUrl1() {
		return picUrl1;
	}

	/**
	 * @param picUrl1 图片URL1
	 */
	public void setPicUrl1(String picUrl1) {
		this.picUrl1 = picUrl1;
	}

	/**
	 * @return 图片URL2
	 */
	public String getPicUrl2() {
		return picUrl2;
	}

	/**
	 * @param picUrl2 图片URL2
	 */
	public void setPicUrl2(String picUrl2) {
		this.picUrl2 = picUrl2;
	}

	/**
	 * @return 开始日期
	 */
	public String getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate 开始日期
	 */
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	/**
	 * @return 结束日期
	 */
	public String getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate 结束日期
	 */
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return 手机号
	 */
	public String getCellphone() {
		return cellphone;
	}

	/**
	 * @param cellphone 手机号
	 */
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	/**
	 * @return 详细地址
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address 详细地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return 备注
	 */
	public String getMemo() {
		return memo;
	}

	/**
	 * @param memo 备注
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

	/**
	 * @return 外部会员ID
	 */
	public String getOuterMemberId() {
		return outerMemberId;
	}

	/**
	 * @param outerMemberId 外部会员ID
	 */
	public void setOuterMemberId(String outerMemberId) {
		this.outerMemberId = outerMemberId;
	}

	/**
	 * @return userId
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * @param userId userId
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

}
